package cn.itheima.student.service.impl;

import cn.itheima.student.dao.LoginDao;
import cn.itheima.student.dao.impl.LoginDaoImpl;
import cn.itheima.student.daomain.admin;
import cn.itheima.student.service.LoginService;

public class LoginServceImpl implements LoginService {

	public admin Login(String id, String epss) {
		
		int id2 = Integer.parseInt(id);
		LoginDao dao = new LoginDaoImpl();
		return dao.Loginadmin(id2, epss);
	}

}
